package com.chengcang.api.modules.busi.service;

import com.chengcang.api.modules.busi.dto.BusiInvoiceHeadDTO;
import com.chengcang.api.modules.busi.entity.BusiInvoiceHeadEntity;
import com.chengcang.common.service.CrudService;

/**
 * 发票抬头
 *
 * @author zhanli
 * @since 1.0.0 2023-01-09
 */
public interface BusiInvoiceHeadService extends CrudService<BusiInvoiceHeadEntity, BusiInvoiceHeadDTO> {
    //修改原默认发票为非默认
    void updateOldDefault();

    //逻辑删除发票
    void deleteLogic(Long id);
}